package com.example.demo.service;

import com.example.demo.entity.JobMsg;
import com.example.demo.entity.response.job.JobDetailResp;
import com.example.demo.utils.PageInfoNew;

public interface JobMsgService {
    int add(JobMsg jobMsg);

    PageInfoNew<JobMsg> jobMsgPage(int pageNum, int pageSize,int projectId);

    JobDetailResp jobDetail(int id );

    int updateJob(JobMsg jobMsg);

    int deleteJob(int id);

    void modifyState(JobMsg jobMsg);

    void excJob(JobMsg jobMsg);

    int run(int  jobId);
}
